package com.oa.gform.client.bean.oldproxy;

import com.oa.gform.client.bean.oldproxy.BeanProxyResponse;
import com.oa.gform.client.bean.oldproxy.BeanProxySendCallback;

public interface GFormBeanProxy<BeanType> {
	BeanType[] loadByExample(BeanType bean);
	void loadById(BeanType id,BeanProxySendCallback<BeanType> callback);
	BeanProxyResponse<BeanType> saveOrUpdate(BeanType bean);
	BeanProxyResponse<BeanType> delete(BeanType beand);
}
